package com.twu.biblioteca;

import java.io.BufferedReader;


public class ListBookState implements State {

    private Library library;

    public ListBookState(Library library) {
        this.library = library;
    }

    @Override
    public State next(BufferedReader reader) {
        return new MenuState(library);  //To change body of implemented methods use File | Settings | File Templates.
    }

    @Override
    public String getMessage() {
        return library.toStringBooks();  //To change body of implemented methods use File | Settings | File Templates.
    }
}
